package com.ophiux.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ophiux.system.model.entity.SysRole;

import java.util.List;
public interface SysRoleService extends IService<SysRole> {

	/**
	 * 通过用户ID，查询角色信息
	 * @param userId
	 * @return
	 */
	List<SysRole> findRolesByUserId(Long userId);

}
